// 数组去重
const arr = [12, 5, 8, 8, 130, 44, 130, 'a', 'b', 'a'];
const obj = {};
arr.forEach(item => {
    obj[item] = item; // 去重
})
console.log(Object.keys(obj))